#define  _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#include<string.h>
#include<ctype.h>


int main()
{
    char arr[300] = { 0 };
    gets(arr);
    int len = strlen(arr), i = 0, j = 0;
    char a[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", b[] = "VWXYZABCDEFGHIJKLMNOPQRSTU";
    for (i = 0; i < len; i++)
    {
        for (j = 0; j < 27; j++)
        {
            if (arr[i] == a[j])
            {
                arr[i] = b[j];
                break;
            }
        }
    }
    puts(arr);
    return 0;
}